package com.uphone.kingmall.bean;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/19
 *     desc   :
 * </pre>
 */
public class LoginBean {

    /**
     * msg : ok
     * code : 0
     * user : {"token":"7f1a9f89f036458397b50e4909ea9af4","expire":4320000,"userId":38,"userName":"u9158","userMobile":"15703379121","userPhoto":"http://192.168.1.251:8082/images/photo1.png"}
     */

    private String msg;
    private int code;
    private UserBean user;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public static class UserBean {
        /**
         * token : 7f1a9f89f036458397b50e4909ea9af4
         * expire : 4320000
         * userId : 38
         * userName : u9158
         * userMobile : 15703379121
         * userPhoto : http://192.168.1.251:8082/images/photo1.png
         */

        private String token;
        private String expire;
        private String userId;
        private String userName;
        private String userMobile;
        private String userPhoto;

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getExpire() {
            return expire;
        }

        public void setExpire(String expire) {
            this.expire = expire;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserMobile() {
            return userMobile;
        }

        public void setUserMobile(String userMobile) {
            this.userMobile = userMobile;
        }

        public String getUserPhoto() {
            return userPhoto;
        }

        public void setUserPhoto(String userPhoto) {
            this.userPhoto = userPhoto;
        }
    }
}
